/*
 * @Author: Cenven
 * @Date: 2021-04-08 16:00:44
 * @Description: 北京泓深教育发展有限公司
 * @Descripttion: 
 * @version: @Lastest
 * @LastEditTime: 2021-05-21 14:20:54
 * @CopyRight: 北京泓深教育发展有限公司
 */
import http from "~/utils/http";
export const getTeacherZone = (params) => {
  return http({
    url: "client/teacher/getTeacherList",
    method: "get",
    params
  });
};
export const getTeacherDetail = (id) => {
  return http({
    url: "client/teacher/getTeacherDetail?id="+id,
    method: "get"
  });
};
export const saveTeacherSettled = data => {
  return http({
      url: 'teacherSettled/save',
      method: 'post',
      headers: {
          'Content-Type': 'multipart/form-data;charset=UTF-8'
      },
      data
  });
};
export const updateTeacherSettled = data => {
  return http({
      url: 'teacherSettled/update',
      method: 'post',
      headers: {
          'Content-Type': 'multipart/form-data;charset=UTF-8'
      },
      data
  });
};
export const getTeacherSettledStatus = data => {
  return http({
      url: 'teacherSettled/getTeacherSettledStatus',
      method: 'post',
      data
  });
};
